package com.yzqp.sys.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.*;

/**
 * Role saveForm
 */
@Data
@ApiModel(value = "saveForm")
public class RoleSaveForm {

    // id
    @ApiModelProperty("编号")
    private Long id;

    @NotBlank(message = "角色值不能为空")
    @ApiModelProperty("角色值")
    private String roleValue;

    @NotNull(message = "角色名称不能为空")
    @ApiModelProperty("角色名称")
    private Integer roleName;

}
